package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.cx.entity.Projectparams;
import com.cx.mapper.ProjectparamsMapper;
import com.cx.service.ProjectparamsService;
@Service
public class ProjectparamsServiceImpl implements ProjectparamsService{

    @Resource
    private ProjectparamsMapper projectparamsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return projectparamsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Projectparams record) {
        return projectparamsMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(Projectparams record) {
        return projectparamsMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Projectparams record) {
        return projectparamsMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(Projectparams record) {
        return projectparamsMapper.insertSelective(record);
    }

    @Override
    public Projectparams selectByPrimaryKey(Integer id) {
        return projectparamsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Projectparams record) {
        return projectparamsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Projectparams record) {
        return projectparamsMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Projectparams> list) {
        return projectparamsMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Projectparams> list) {
        return projectparamsMapper.batchInsert(list);
    }

}
